package com.example.xsssglxt.service;

import com.example.xsssglxt.entity.Student;
import com.example.xsssglxt.mapper.StudentMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class StudentIService {
    @Autowired
    private StudentMapper studentMapper;
    public int student(Student student){
        return studentMapper.insert(student);

    }
    public int change(Student student){
        return  studentMapper.updatexs(student);
    }
}
